<div class="condition" style="display: none;">
	<!-- 没有限制条件 -->
	<div>1=1</div>
	<div nul="str3">and str3 like '%#str3#%'</div>					<!-- 项目名称 -->
	<div nul="str12">and str12='#str12#'</div> 						<!-- 项目类型 -->
	<div nul="str11">and str11 like '%#str11#%'</div>				<!-- 资金来源 -->
	<div nul="str5"> and str5 like '%#str5#%'</div>					<!-- 主要经办人 -->
	<div nul="str4"> and str4 like '%#str4#%'</div>					<!-- 项目单位 -->
	<div nul="date6_start"> and date6 >= '#date6_start# ' </div>	<!-- 合同签署日期 -->
	<div nul="date6_end"> and date6 <= '#date6_end#' </div>			<!-- 合同签署日期 -->
	<div nul="number10"> #number10#</div>							<!-- 预算金额 -->
	<div nul="str13"> and str13 = '#str13#'</div>					<!-- 支付方式 -->
	<div nul="str7"> and str7 like '%#str7#%'</div>					<!-- 设计单位 -->
	<div nul="str8"> and str8 like '%#str8#%'</div>					<!-- 监理单位 -->
	<div nul="str9"> and str9 like '%#str9#%'</div>					<!-- 实施单位 -->
	<div nul="str14"> and islock = '#str14#'</div>					<!-- 项目状态 -->
	<div nul="date7_start"> and date7 >= '#date7_start#'</div>		<!-- 开工日期 -->
	<div nul="date7_end"> and date7 <= '#date7_end#'</div>			<!-- 开工日期 -->
	<div nul="date8_start"> and date8 >= '#date8_start#'</div>		<!-- 验收日期 -->
	<div nul="date8_end"> and date8 <= '#date8_end#'</div>			<!-- 验收日期 -->
	<div nul="date10_start"> and date10 >= '#date10_start#'</div>	<!-- 结算审核日期 -->
	<div nul="date10_end"> and date10 <= '#date10_end#'</div>		<!-- 结算审核日期 -->
	<div nul="str22"> and str22 like '%#str22#_%'</div>			<!-- 支付年份 -->
	
	<!-- 如果str1与str2都不为空的话，增加下边的条件表达式 -->
	<!-- <div nul="str1,str2">and str1='#str1#' and str2='#str2#'</div> -->
	<!-- 如果date1与date3都不为空的话，增加下边的条件表达式 -->
	<!-- <div nul="date1,date3">and date1>='#date1#' and date3<='#date3#'</div> -->
</div>
<div class="fields">
	<p>
		<label>项目名称：</label><input type="text" value="" size="30" name="str3" id="str310000" class="textInput">
	</p>
	<p>
		<label>项目类型：</label><select defselvalue="[&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;]"
			datas="设计,监理,普通施工,专项工程,维护,购置,其他" name="str12">
			<option value="" selected="selected">全部</option>
			<option value="设计">设计</option>
			<option value="监理">监理</option>
			<option value="日常修缮">日常修缮</option>
			<option value="专项工程">专项工程</option>
			<option value="维护">维护</option>
			<option value="购置">购置</option>
			<option value="其他">其他</option></select>
	</p>
	<p>
		<label>资金来源：</label><input type="text" value="" size="30" name="str11" class="textInput">
	</p>
	<p>
		<label>主要经办人：</label><input type="text" value="" size="30" name="str5" class="textInput">
	</p>
	<p>
		<label>项目单位：</label><input type="text" value="" size="30" name="str4" class="textInput">
	</p>
	<p>
		<label>合同签署日期：</label>
		<input type="text" value="" size="11" name="date6_start" readonly="true" class="date textInput readonly valid">
		<span>至</span>
		<input type="text" value="" size="11" name="date6_end" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>预算金额：</label>
		<select defselvalue="[&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;]"
			datas="3000以内,3000-10W,10W-30W,30W-100W,100W以上" name="number10">
			<option value="" selected="selected">全部</option>
			<option value="and number10<=3000">三千以内</option>
			<option value="and number10 between 3000 and 100000">三千-十万</option>
			<option value="and number10 between 100000 and 300000">十万-三十万</option>
			<option value="and number10 between 300000 and 1000000">三十万-一百万</option>
			<option value="and number10>=1000000">一百万以上</option>
		</select>
	</p>
	<p>
		<label>支付方式：</label>
		<select defselvalue="[&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;]"
			datas="直接支付,授权支付" name="str13">
			<option value="" selected="selected">全部</option>
			<option value="直接支付">直接支付</option>
			<option value="授权支付">授权支付</option>
		</select>
	</p>
	<p>
		<label>设计单位：</label><input type="text" value="" size="30" name="str7" class="textInput">
	</p>
	<p>
		<label>监理单位：</label><input type="text" value="" size="30" name="str8" class="textInput">
	</p>
	<p>
		<label>实施单位：</label><input type="text" value="" size="30" name="str9" class="textInput">
	</p>
	<p>
		<label>项目状态：</label>
		<select defselvalue="[&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;]"
			datas="0,1" name="str14">
			<option value="" selected="selected">全部</option>
			<option value="0">非锁定</option>
			<option value="1">锁定</option>
		</select>
	</p>
	<p>
		<label>开工日期：</label>
		<input type="text" value="" size="11" name="date7_start" readonly="true" class="date textInput readonly valid">
		<span>至</span>
		<input type="text" value="" size="11" name="date7_end" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>验收日期：</label>
		<input type="text" value="" size="11" name="date8_start" readonly="true" class="date textInput readonly valid">
		<span>至</span>
		<input type="text" value="" size="11" name="date8_end" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>结算审核日期：</label>
		<input type="text" value="" size="11" name="date10_start" readonly="true" class="date textInput readonly valid">
		<span>至</span>
		<input type="text" value="" size="11" name="date10_end" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>支付年份：</label>
		<input type="text" value="" size="30" name="str22" class="textInput number" maxlength=4 onblur="check(this);" >
	</p>
	<!-- 
	<p>
		<label>档案编号：</label><input type="text" value="" size="30" name="str1" id="str110000" class="required textInput">
	</p>
	<p>
		<label>项目编号：</label><input type="text" value="" size="30" name="str2" id="str210000" class="required textInput">
	</p>
	<p>
		<label>合同价：</label><input type="text" value="" size="30" name="number6" id="number610000" class="number textInput">
	</p>
	<p>
		<label>施工图中标价：</label><input type="text" value="" size="30" name="number7" id="number710000" class="number textInput">
	</p>
	<p>
		<label>暂列金：</label><input type="text" value="" size="30" name="number8" id="number810000" class="number textInput">
	</p>
	<p>
		<label>第一次支付金额：</label><input type="text" value="" size="30" name="number1" id="number110000" class="number textInput">
	</p>
	<p>
		<label>第一次支付日期：</label><input type="text" value="" size="30" name="date1" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>第二次支付金额：</label><input type="text" value="" size="30" name="number2" id="number210000" class="number textInput">
	</p>
	<p>
		<label>第二次支付日期：</label><input type="text" value="" size="30" name="date2" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>第三次支付金额：</label><input type="text" value="" size="30" name="number3" id="number310000" class="number textInput">
	</p>
	<p>
		<label>第三次支付日期：</label><input type="text" value="" size="30" name="date3" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>第四次支付金额：</label><input type="text" value="" size="30" name="number4" id="number410000" class="number textInput">
	</p>
	<p>
		<label>第四次支付日期：</label><input type="text" value="" size="30" name="date4" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>第五次支付金额：</label><input type="text" value="" size="30" name="number5" id="number510000" class="number textInput">
	</p>
	<p>
		<label>第五次支付日期：</label><input type="text" value="" size="30" name="date5" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>结算送审日期：</label><input type="text" value="" size="30" name="date9" readonly="true" class="date textInput readonly valid">
	</p>
	<p>
		<label>结算价：</label><input type="text" value="" size="30" name="number9" id="number910000" class="number textInput">
	</p>
	<p>
		<label>协助经办人：</label><input type="text" value="" size="30" name="str6" id="str610000" class="textInput">
	</p>
	<p>
		<label>备注：</label><input type="text" value="" size="30" name="str21" id="str2110000" class="textInput">
	</p>
	<p>
		<label>质量保证期：</label><input type="text" value="" size="30" name="date11" readonly="true" class="date textInput readonly valid">
	</p>
	 -->
	 <script type="text/javascript">
	 	function check(obj){
	 		if($(obj).val()=="") return;

	 		if(($(obj).val().length!=4) || !$(obj).val().isNumber()){
	 			alert("请输入正确的年份");
	 			$(obj).focus();
	 		}
	 	}
	 </script>
</div>
